<template>
  <div>
    <div id="page">
      <h1>404 抱歉，找不到此页面~</h1>
      <h2>Sorry, the site now can not be accessed.</h2>
      <font color="#666666"
      >你请求访问的页面，暂时找不到，工程师正在努力创造，谢谢！</font
      ><br/><br/>
      <div id="toHome">
        <a @click="toHomePage">返回首页</a>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: "error_page",
    data() {
      return {};
    },
    methods: {
      toHomePage() {
        this.$router.replace({path: "/"});
      },
    },
  };
</script>

<style scoped>
  #page {
    width: 910px;
    padding: 20px 20px 40px 20px;
    border-style: dashed;
    border-color: #e4e4e4;
    line-height: 30px;
    margin: 100px auto 0 auto;
  }

  #toHome {
    width: 180px;
    height: 28px;
    margin-left: 0;
    margin-top: 10px;
    background: #009cff;
    border-bottom: 4px solid #0188de;
    text-align: center;
  }

  #toHome a {
    width: 180px;
    height: 28px;
    display: block;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
  }

  #toHome a:hover {
    background: #5bbfff;
  }
</style>
